package com.ithinkstudio.jeez.generator.config.po;

import com.ithinkstudio.jeez.generator.config.rule.IColumnType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Map;

/**
 * 表字段信息
 *
 * @author felix
 */
@Data
@Accessors(chain = true)
public class TableField {

    /**
     * 是否主键
     */
    private boolean keyFlag;
    /**
     * 主键是否为自增类型
     */
    private boolean keyIdentityFlag;
    /**
     * 字段名
     */
    private String columnName;

    private String propertyName;

    /**
     * 字段类型
     */
    private String type;
    /**
     * 字段注释
     */
    private String comment;

    private String tableName;

    private Integer length;

}
